<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<jsp:include page="../../../common/head.jsp">
			 <jsp:param name="_spPage" value="true"/>
			 <jsp:param name="_useUpload" value="true"/>
		</jsp:include>		
		<title>公共信息发布</title>
	<script type="text/javascript">

	function viewInfo(infoId){
		ModalWindow("jump.do?path=${ctx}/jsp/manage/info_publish/detailInfoPublish.do&infoId="+infoId,900,600);		
	}
	function goback()
	{
		window.location.href="${backUrl}";
	}
    </script>
	</head>
	<body>
		<form action="listInfoPublish.do" name="infoForm" id="infoForm" method="post">
		<!--所属大类编码-->
		<input type="hidden" name="infoPublish.infoType" value="${infoPublish.infoType}"/>
		<input type="hidden" name="infoPublish.infoTypeL2" value="${infoPublish.infoTypeL2}"/>
		<input type="hidden" name="isView" value="true"/>
		<input type="hidden" name="backUrl" value="${backUrl}"/>
	<div id="body_div">
	<div id="body_title">
		<w:ShowTitle name="${wfn:getCodeName(CodeDict,pageTitle)}">
			<img src="../../../images/main/query.png" width="20" height="25" /><a href="#" onclick="_queryDivBg(this)">查询</a>
		</w:ShowTitle>
		
	</div>
	
	<div id="body_content">
				<div id="queryDiv">
		<table width="100%">
			<tr>
				<th height="24" colspan="4">
					<w:CodeDictOut value="${pageTitle}"></w:CodeDictOut>
				</th>
			</tr>
					<tr>
						<td width="15%">标题</td>
						<td class="left_align"><input type="text" name="infoPublish.infoTitle" value="${infoPublish.infoTitle}"/></td>
					</tr>
					<tr>
						<td align="right">发布时间</td>
						<td class="left_align">
							<input type="text" name="dateFrom" value="${dateFrom}" onFocus="new WdatePicker()" readOnly="readOnly" class="inputCal"/>
						至<input type="text" name="dateTo" value="${dateTo}" onFocus="new WdatePicker()" readOnly="readOnly" class="inputCal"/>
						</td>
					</tr>
				<tr>
					<td colspan="4">
						<input name="button" type="submit" class="btn_standard" value="　查 询　" />
						<c:if test="${backUrl ne null and backUrl ne ''}">
						<input name="button" type="button" class="btn_standard" value="　返  回　" onclick="goback()"/>
						</c:if>
					</td>
				</tr>
			</table>
			</div>
			<table width="100%">
				<tr>
					<td class="td_title">标题</td>
					<td width="80" class="td_title">发布人</td>
					<td width="80" class="td_title">发布时间</td>
					<td width="160" class="td_title">操作</td>
				</tr>
				<c:forEach items="${datalist}" var="obj">
					<tr>
						<td class="left_align"><w:dataOut fieldName="" dataValue="${obj.infoTitle}" length="50" /></td>
						<td class="td_text_align td_nowrap">${obj.publishUserName}</td>
						<td><fmt:formatDate value="${obj.publishTime}" pattern="yyyy-MM-dd"/></td>
						<td class="td_text_align td_nowrap">
 							<a href="#" onclick="viewInfo('${obj.infoId}')">查看</a>
							<a href="#" onClick="downLoadFile('infoPublish','${obj.infoId}',this)">下载</a>
						</td>
					</tr>
				</c:forEach>
			</table>
			<w:spPage />
			</div>
		</div>
		</form>
	</body>
</html>